package com.itheima.sh.a_break_01.b_random02;

import java.util.Random;

public class RandomDemo01_2 {
    public static void main(String[] args) {
       Random r=new Random();
       int nummber= r.nextInt(10);
        System.out.println("随机生成了："+nummber);
    }


}
